﻿@using SelfMadeMillionaire.Web.Infrastructure
@using SelfMadeMillionaire.Core.Enums

@{
    Layout = "~/Views/Shared/_MainLayout.cshtml";
}

@{
    bool isMMM = ViewContext.RouteData.Values["controller"].ToString() == "MaggiesMoneyMountain";
    bool isJustActivated = ViewContext.RouteData.Values["action"].ToString() == "Activated";
    string bannerImage = string.Format("~/Content/images/{0}", isMMM ? "mmm_logo.png" : "company_logo_1.png");    
}

<script>
	(function (i, s, o, g, r, a, m) {
		i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }

		, i[r].l = 1 * new Date(); a = s.createElement(o),
		m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
	})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

	ga('create', 'UA-49579477-1', '@Request.Url.Authority');
	ga('send', 'pageview');

</script>

<!--social floating share link-->
<div style="position:fixed; top:320px;left:-5px;background-color: #EEE; z-index: 1000; padding:10px 10px 10px 15px; border-top-right-radius:6px; border-bottom-right-radius:6px; box-shadow:0 0 3px #999;">
<script type="text/javascript">
    (function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

           

</div>
<!--social floating share link-->

<!--banner part-->
<div class="banner_part">
	<div class="container">
		<div class="row">
			<div class="banner_img" style="padding:0">
				<div class="col-sm-8 col-md-8 col-lg-9" style="margin-top:20px;">
					<img class="img-responsive" src="@Url.Content(bannerImage)" alt="" title="" />
				</div>
                <div class="col-sm-4 col-md-4 col-lg-3 clearfix">
                    <div class="welcome_user_info" style="margin-bottom: 10px;">

                    </div>
                        <div class="welcome_user_info" style="margin-bottom: 10px;">
                            <p>
								&nbsp;
							</p>
                        </div>
						<div class="subscribe_now clearfix" style="margin-bottom: 10px;margin-top: 0px;">
							<a href="@Url.Action("Subscribe", "MailingList")">
								<h2>Subscribe NOW
									<br />
									for FREE</h2>
							</a>
						</div>

				</div>
			</div>
		</div>
	</div>
</div>
<!--end banner part-->

<!--company mission-->

<!--body container-->
<div class="container landing_page_content">
    @RenderBody()
</div>
<!--end body container-->


<!--footer block-->
<div class="container">
	<div class="footer_block">
		<p>Content copyright 2012 - @DateTime.Now.Year. SELF-MADEMILLIONAIRE.COM. All rights reserved.</p>
	</div>
</div>

